<template>
  <block v-for="(item,index) in list" :key="item.id">
    <integral-item :item="item" />
  </block>
  <back-page></back-page>
</template>

<script setup>
  import { onMounted, ref } from 'vue';
  import integralItem from '../components/integral-item.vue';
  import { score_record } from '../../../config/api';
  const list = ref([])
  onMounted(() => {
    _score_record()
  })
  const _score_record = () => {
    score_record().then(res => {
      console.log(res)
      list.value = res.data.data
    })
  }
</script>

<style lang="scss" scoped>

</style>